package com.kdgc.springboot002.controller;


import com.kdgc.springboot002.model.Person;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class CeshiController {
    @Autowired
    Person person;


    @RequestMapping("/person")
    public Person get(){


        return person;
    }



}
